#include <robot/robot.h>
#include "cheadbox.h"

#include <blackbox/cscheduler.h>

using namespace buola;

int main(int pNArgs,char **pArgs)
{
    buola_init(pNArgs,pArgs);

    try
    {
        robot::pacohead::CHeadBox lHeadBox;
        
        buola_main_loop();
    }
    catch(std::exception &pE)
    {
        msg_info() << "exiting program with exception " << pE.what() << "\n";
    }

    return buola_finish();
}
